package com.song.JavaThread_ch3_4;

public class TaskMain {
	
	
	
	public static void main(String[] args) {
		
		Videoconference conference =new Videoconference(10);
		Thread threadconference = new Thread(conference);
		threadconference.start();
		
		for(int i=0 ;i<10 ;i++)
		{
			Participant participant = new Participant(conference, "Participant-"+i);
			Thread t = new Thread(participant);
			t.start();
		}
	}
}
